package com.wardrobe.mapper.master.goods_order;

import com.wardrobe.domain.common.BackEndFromBean;
import com.wardrobe.domain.goods_order.GoodsOrderBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/11/20.
 */
@Component("goodsOrderMasterMapper")
public interface GoodsOrderMasterMapper {

    int insertGoodsOrder(GoodsOrderBean goodsOrderBean);

    int updateGoodsOrder(BackEndFromBean fromBean);

    int updateGoodsOrderPayTime(long orderId);

    int updateGoodsOrderByOrderId(@Param("orderId") long orderId, @Param("status") int status);
}
